package com.sheepone.distributor.listener;

/**
 * @author Miss.杨
 * @description
 * @since 2024/1/26 - 15:44
 */
public class DistributorListenerHolder extends ListenerHolder {
    private final DistributorListener listener;
    public DistributorListenerHolder(DistributorListener listener){
        this.listener = listener;
        this.mask = DistributorListenerMasker.mask(listener.getClass());
    }

    public DistributorListener getListener() {
        return listener;
    }
}
